package com.zmhc.product.domain;

import com.zmhc.common.core.annotation.Excel;
import com.zmhc.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 商品相册对象 zmhc_goods_gallery
 *
 * @author ruoyi
 * @date 2023-12-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GoodsGallery extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private String goodsId;

    /**
     * 是否是默认图片1   0没有默认
     */
    @Excel(name = "是否是默认图片1   0没有默认")
    private Long isDefault;

    /**
     * 原图路径
     */
    @Excel(name = "原图路径")
    private String original;

    /**
     * 小图路径
     */
    @Excel(name = "小图路径")
    private String small;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 缩略图路径
     */
    @Excel(name = "缩略图路径")
    private String thumbnail;

    /**
     * 删除状态 0=正常 2=已删除
     */
    private String delFlag;

}
